package com.tt.fashionWebSite.dto;

import java.io.Serializable;

public class ChiTietHoaDonFullDto implements Serializable {
   private String maHD;
   private String maHHD;
   private ChiTietSanPhamFullDto chiTietSanPham;
   private Long soLuong;
   private Double tongGia;

   public ChiTietHoaDonFullDto() {
   }

   public ChiTietHoaDonFullDto(Object[] chiTietHDInfo) {
      this.chiTietSanPham = new ChiTietSanPhamFullDto();
      if(chiTietHDInfo[0] != null) {
         this.chiTietSanPham.setMaCTSP(chiTietHDInfo[0].toString());
      }
   }

   public String getMaHD() {
      return maHD;
   }

   public void setMaHD(String maHD) {
      this.maHD = maHD;
   }

   public ChiTietSanPhamFullDto getChiTietSanPham() {
      return chiTietSanPham;
   }

   public void setChiTietSanPham(ChiTietSanPhamFullDto chiTietSanPham) {
      this.chiTietSanPham = chiTietSanPham;
   }

   public Long getSoLuong() {
      return soLuong;
   }

   public void setSoLuong(Long soLuong) {
      this.soLuong = soLuong;
   }

   public Double getTongGia() {
      return tongGia;
   }

   public void setTongGia(Double tongGia) {
      this.tongGia = tongGia;
   }

   public String getMaHHD() {
      return maHHD;
   }

   public void setMaHHD(String maHHD) {
      this.maHHD = maHHD;
   }
}
